#include <stdio.h>

int main() {
    char string[] = {"hello world\0"};
    char key;
    int i = 0, j = -1;

    printf("%s\n", string);
    scanf("%c", &key);
    while (string[i] != '\0') {
        if (string[i] == key) {
            //del
            j = i;
            while (string[j] != '\0') {
                string[j] = string[j + 1];
                j++;
            }
        } else {
            i++;
        }
    }
    if (j == -1) {
        printf("NOT FIND!\n");
    } else {
        printf("%s\n", string);
    }

    return 0;
}
